/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cs575.coresystem;
import com.sun.xml.ws.developer.Stateful;
import java.sql.Timestamp;
import javax.annotation.Resource;
import javax.servlet.http.HttpSession;
import javax.xml.ws.WebServiceContext;
import javax.xml.ws.handler.MessageContext;

/**
 *
 * fix it!
 * 
 * @author bms
 */
public class Session {
    
    public Session(int userId,String sessionKey,Timestamp time)
    {
        this.userID = userId;
        this.sessionID = sessionKey;
        this.expireTime= time;
    }
    public String getSessionID() {
        return sessionID;
    }

    public void setSessionID(String sessionID) {
        this.sessionID = sessionID;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }
    
    public Timestamp getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Timestamp expireTime) {
        this.expireTime = expireTime;
    }
    
  
    private String sessionID;
    private int userID;
    private Timestamp expireTime;
}
